package com.neuedu.abst;

public class Runner {
    public static void main(String[] args) {

       Animal animal = new Panda("盼盼",50.68);
        animal.show(); //父类
        animal.eat(); // override的方法


        Animal animal2 = new Tiger("东北虎",50.68);
        animal2.show(); //父类
        animal2.eat(); // override的方法
    }
}
